package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.CrossborderalarmDao;
import io.renren.entity.Crossborderalarm;
import io.renren.service.CrossborderalarmService;



@Service("crossborderalarmService")
public class CrossborderalarmServiceImpl implements CrossborderalarmService {
	@Autowired
	private CrossborderalarmDao crossborderalarmDao;
	
	@Override
	public Crossborderalarm queryObject(Integer id){
		return crossborderalarmDao.queryObject(id);
	}
	
	@Override
	public List<Crossborderalarm> queryList(Map<String, Object> map){
		return crossborderalarmDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return crossborderalarmDao.queryTotal(map);
	}
	
	@Override
	public void save(Crossborderalarm crossborderalarm){
		crossborderalarmDao.save(crossborderalarm);
	}
	
	@Override
	public void update(Crossborderalarm crossborderalarm){
		crossborderalarmDao.update(crossborderalarm);
	}
	
	@Override
	public void delete(Integer id){
		crossborderalarmDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		crossborderalarmDao.deleteBatch(ids);
	}
	
}
